package com.jq.aution.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class TransactionInfo implements Serializable {
    private Integer ticketId;

    private Integer productId;

    private Integer winnerId;

    private Date successTime;

    private String isPaid;

    private Float payAmount;

    private Float paySellerAmount;

    private static final long serialVersionUID = 1L;

    public Integer getTicketId() {
        return ticketId;
    }

    public void setTicketId(Integer ticketId) {
        this.ticketId = ticketId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getWinnerId() {
        return winnerId;
    }

    public void setWinnerId(Integer winnerId) {
        this.winnerId = winnerId;
    }

    public Date getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

    public String getIsPaid() {
        return isPaid;
    }

    public void setIsPaid(String isPaid) {
        this.isPaid = isPaid;
    }

    public Float getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Float payAmount) {
        this.payAmount = payAmount;
    }

    public Float getPaySellerAmount() {
        return paySellerAmount;
    }

    public void setPaySellerAmount(Float paySellerAmount) {
        this.paySellerAmount = paySellerAmount;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", ticketId=").append(ticketId);
        sb.append(", productId=").append(productId);
        sb.append(", winnerId=").append(winnerId);
        sb.append(", successTime=").append(successTime);
        sb.append(", isPaid=").append(isPaid);
        sb.append(", payAmount=").append(payAmount);
        sb.append(", paySellerAmount=").append(paySellerAmount);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}